package com.lishao.soccer.dao;

import java.util.List;

import com.lishao.soccer.bean.entity.TmTeamGame;

public interface TmTeamGameMapper {
    int deleteByPrimaryKey(Long rowId);

    int insert(TmTeamGame record);

    int insertSelective(TmTeamGame record);

    TmTeamGame selectByPrimaryKey(Long rowId);
    
    List <TmTeamGame> selectByTeam(Long teamId);

    int updateByPrimaryKeySelective(TmTeamGame record);

    int updateByPrimaryKey(TmTeamGame record);
    
    List <TmTeamGame> selectActiveGameByTeam(Long teamId);
    
    List <TmTeamGame> selectInActiveGameByTeam(Long teamId);
}